home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / gfx / x11 / x3270_3_2_16.lha / amiga_src / ctlrc.h < prev    next >
C/C++ Source or Header  |  2008-05-08  |  2KB  |  57 lines

  1. /*
  2.  * Copyright 1995, 1999, 2000 by Paul Mattes.
  3.  *  Permission to use, copy, modify, and distribute this software and its
  4.  *  documentation for any purpose and without fee is hereby granted,
  5.  *  provided that the above copyright notice appear in all copies and that
  6.  *  both that copyright notice and this permission notice appear in
  7.  *  supporting documentation.
  8.  */
  9.  
  10. /*
  11.  *    ctlrc.h
  12.  *        Global declarations for ctlr.c.
  13.  */
  14.  
  15. enum pds {
  16.     PDS_OKAY_NO_OUTPUT = 0,    /* command accepted, produced no output */
  17.     PDS_OKAY_OUTPUT = 1,    /* command accepted, produced output */
  18.     PDS_BAD_CMD = -1,    /* command rejected */
  19.     PDS_BAD_ADDR = -2    /* command contained a bad address */
  20. };
  21.  
  22. void ctlr_aclear(int baddr, int count, int clear_ea);
  23. void ctlr_add(int baddr, unsigned char c, unsigned char cs);
  24. void ctlr_add_bg(int baddr, unsigned char color);
  25. void ctlr_add_fg(int baddr, unsigned char color);
  26. void ctlr_add_gr(int baddr, unsigned char gr);
  27. void ctlr_altbuffer(Boolean alt);
  28. Boolean ctlr_any_data(void);
  29. void ctlr_bcopy(int baddr_from, int baddr_to, int count, int move_ea);
  30. void ctlr_changed(int bstart, int bend);
  31. void ctlr_clear(Boolean can_snap);
  32. void ctlr_erase(Boolean alt);
  33. void ctlr_erase_all_unprotected(void);
  34. void ctlr_init(unsigned cmask);
  35. void ctlr_read_buffer(unsigned char aid_byte);
  36. void ctlr_read_modified(unsigned char aid_byte, Boolean all);
  37. void ctlr_reinit(unsigned cmask);
  38. void ctlr_scroll(void);
  39. void ctlr_shrink(void);
  40. void ctlr_snap_buffer(void);
  41. Boolean ctlr_snap_modes(void);
  42. void ctlr_write(unsigned char buf[], int buflen, Boolean erase);
  43. void ctlr_write_sscp_lu(unsigned char buf[], int buflen);
  44. struct ea *fa2ea(unsigned char *fa);
  45. unsigned char *get_field_attribute(register int baddr);
  46. Boolean get_bounded_field_attribute(register int baddr, register int bound,
  47.     unsigned char *fa_out);
  48. void mdt_clear(unsigned char *fa);
  49. void mdt_set(unsigned char *fa);
  50. int next_unprotected(int baddr0);
  51. enum pds process_ds(unsigned char *buf, int buflen);
  52. void ps_process(void);
  53. void set_rows_cols(int mn, int ovc, int ovr);
  54. void ticking_start(Boolean anyway);
  55. void toggle_nop(struct toggle *t, enum toggle_type tt);
  56. void toggle_showTiming(struct toggle *t, enum toggle_type tt);
  57.